package com.kevin.j2eeToolBox.io.file;

import java.io.File;
import java.io.IOException;

public class FileTest2 {
	public static void main(String[] args) throws IOException {
		File file = new File("D:\\Test");

		// System.out.println(file.isDirectory());
		if (!file.exists()) {
			file.mkdir();
		}
		File file2 = new File(file, "test2.pdf");
		file2.createNewFile();

	}
}
